/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package apteka.admin;

/**
 *
 * @author Marek
 */
public class addCategory {
    int idc;
    int category;
    String newCat;

    public int getIdc() {
        return idc;
    }

    public void setIdc(int idc) {
        this.idc = idc;
    }



    public addCategory() {
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public String getNewCat() {
        return newCat;
    }

    public void setNewCat(String newCat) {
        try {
            this.newCat = new String(newCat.getBytes("ISO-8859-1"), "UTF-8");
        } catch (Exception e) {
            this.newCat=newCat;
        }
    }
}
